<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>人员报表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/layui.css"  media="all">
	<link rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/toastr.min.css"  media="all">
</head> 
<body>
<div class="demoTable" style="padding:10px 0 0 15px">
    	日期<div class="layui-inline">
        	<input class="layui-input" name="time" id="time" autocomplete="off">
    	</div>
    	<button class="layui-btn site-demo-active" style="margin: 0 0 0 10px" data-type="reload"><i class="layui-icon layui-icon-search">  搜索</i></button>
</div>



<table class="layui-hide" id="test" lay-filter="test"></table>
<script type="text/html" id="toolbarDemo">
	<div class="layui-btn-container">
	</div>
</script>

<script src="${pageContext.request.contextPath }/assets/layui.js" charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/assets/layui.all.js"></script>
<script src="${pageContext.request.contextPath }/assets/js/jquery.min.js" charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/assets/js/toastr.min.js" charset="utf-8"></script>
<script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
<script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
<script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
 
<script>
layui.use(['table','layer','upload','form','carousel'], function(){
	var carousel = layui.carousel;
	var table = layui.table;
	var layer = layui.layer,
    form = layui.form;
	var laydate = layui.laydate;
	carousel.render({
	    elem: '#test1'
	    ,interval: 5000
	    ,anim: 'fade'
	    ,height: '400px'
	    ,width: '100%'
	    ,arrow: 'none'
	    ,indicator: 'none'
	});
	//执行一个laydate实例
	laydate.render({
		elem: '#time' //指定元素
		,type: 'month' //年月选择
	});
	var $ = layui.jquery, active = {
			reload:function () {
				var time = $("#time").val();
				console.log(time)
				table.reload('contenttable',{
					method:'get',
					where:{time: time}
				});
			}
		}
	$('.layui-btn').on('click', function(){
        var type = $(this).data('type');
        active[type] ? active[type].call(this) : '';
    });
	table.render({
	    elem: '#test'
	    ,url:'${pageContext.request.contextPath }/report/change.do'
	    ,title: '人员报表'
		,height: 720
	    ,id :'contenttable'
	    ,cols:[
	    	[ //标题栏
           {field: 'username', title: '日期', width: 120, rowspan: 3,align:'center',
   			width: 120, 
			rowspan: 3,
			templet: function(d){
		    	return d.times;
		    }}
            ,{field: 'amount', title: '班次', width: 70, rowspan: 3, align:'center', 
    			templet: function(d){
    		    	return d.team;
    		    }} 
            ,{align: 'center', title: '纺丝工序', colspan: 36}
            ,{align: 'center', title: '组装工序', colspan: 30}
            ,{align: 'center', title: '运行评价工序', colspan: 24}
          ], 
          [
            {field: 'province', title: '热法1#线', width: 80, colspan: 6, align: 'center'}
            ,{field: 'city', title: '热法2#线', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county1', title: '热法3#线', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county2', title: '热法4#线', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county3', title: '湿法1#线', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county4', title: '湿法2#线', width: 80, colspan: 6, align: 'center'}
           
            ,{field: 'city', title: '组装', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county1', title: '离心', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county2', title: '拆卸端盖', width: 80, colspan: 6, align: 'center'}
            ,{field: 'county3', title: '切割', width: 80, colspan: 6, align: 'center'}
            
            ,{field: 'city', title: '捡漏', width: 80, colspan: 5, align: 'center'}
            ,{field: 'county1', title: '组件评价', width: 80, colspan: 4, align: 'center'}
            ,{field: 'county2', title: '气密性检测', width: 80, colspan: 4, align: 'center'}
          ],
          [
	    		{
	    			field:'hot1.id',
	    			title:'订单号',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1id!=null){
	    					return d.hot1id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot1.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1people!=null){
	    					return (d.hot1people);
	    				}else{
	    					return ('');
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot1.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1work!=null){
	    					return d.hot1work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot1.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1fact!=null){
	    					return d.hot1fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot1.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1theory!=null){
	    					return d.hot1theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot1.difference',
	    			title:'差异率',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot1difference!=null){
	    					if(d.hot1difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.hot1difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.id',
	    			title:'订单号',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot2id!=null){
	    					return d.hot2id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot2people!=null){
	    					return d.hot2people;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot2work!=null){
	    					return d.hot2work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.fact',
	    			title:'实际产量',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.hot2fact!=null){
	    					return d.hot2fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot2theory!=null){
	    					return d.hot2theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot2.difference',
	    			title:'差异率',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot2difference!=null){
	    					if(d.hot2difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.hot2difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.hot3id!=null){
	    					return d.hot3id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot3people!=null){
	    					return d.hot3people;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot3work!=null){
	    					return d.hot3work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot3fact!=null){
	    					return d.hot3fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot3theory!=null){
	    					return d.hot3theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot3.difference',
	    			title:'差异率',
	    			align:'center',
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot3difference!=null){
	    					if(d.hot3difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.hot3difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.hot4id!=null){
	    					return d.hot4id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot4people!=null){
	    					return d.hot4people;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot4work!=null){
	    					return d.hot4work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.hot4fact!=null){
	    					return d.hot4fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.theory',
	    			title:'计划产量',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.hot4theory!=null){
	    					return d.hot4theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'hot4.difference',
	    			title:'差异率',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.hot4difference!=null){
	    					if(d.hot4difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.hot4difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.wet1id!=null){
	    					return d.wet1id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet1people!=null){
	    					return d.wet1people;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet1work!=null){
	    					return d.wet1work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet1fact!=null){
	    					return d.wet1fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet1theory!=null){
	    					return d.wet1theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet1.difference',
	    			title:'差异率',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet1difference!=null){
	    					if(d.wet1difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.wet1difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.id',
	    			title:'订单号',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2id!=null){
	    					return d.wet2id;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2people!=null){
	    					return d.wet2people;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2work!=null){
	    					return d.wet2work;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2fact!=null){
	    					return d.wet2fact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2theory!=null){
	    					return d.wet2theory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'wet2.difference',
	    			title:'差异率',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.wet2difference!=null){
	    					if(d.wet2difference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.wet2difference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		
	    		
	    		
	    		
	    		{
	    			field:'assemble.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.assembleid!=null){
	    					return d.assembleid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'assemble.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.assemblepeople!=null){
	    					return d.assemblepeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'assemble.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.assemblework!=null){
	    					return d.assemblework;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'assemble.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.assemblefact!=null){
	    					return d.assemblefact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'assemble.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.assembletheory!=null){
	    					return d.assembletheory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'assemble.difference',
	    			title:'差异率',
	    			align:'center',
	    			width:'120',
	    			templet: function(d){
	    				if(d.assembledifference!=null){
	    					if(d.assembledifference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.assembledifference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.solidid!=null){
	    					return d.solidid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.solidpeople!=null){
	    					return d.solidpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.work',
	    			title:'工作时间',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.solidwork!=null){
	    					return d.solidwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.solidfact!=null){
	    					return d.solidfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.solidtheory!=null){
	    					return d.solidtheory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'solid.difference',
	    			title:'差异率',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.soliddifference!=null){
	    					if(d.soliddifference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.soliddifference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		
	    		{
	    			field:'centrifugal.id',
	    			title:'订单号',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugalid!=null){
	    					return d.centrifugalid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'centrifugal.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugalpeople!=null){
	    					return d.centrifugalpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'centrifugal.work',
	    			title:'工作时间',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugalwork!=null){
	    					return d.centrifugalwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'centrifugal.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugalfact!=null){
	    					return d.centrifugalfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'centrifugal.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugaltheory!=null){
	    					return d.centrifugaltheory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'centrifugal.difference',
	    			title:'差异率',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.centrifugaldifference!=null){
	    					if(d.centrifugaldifference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.centrifugaldifference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.cutid!=null){
	    					return d.cutid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.cutpeople!=null){
	    					return d.cutpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.work',
	    			title:'工作时间',
	    			align:'center',
	    			width:'120',
	    			templet: function(d){
	    				if(d.cutwork!=null){
	    					return d.cutwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.cutfact!=null){
	    					return d.cutfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.theory',
	    			title:'计划产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.cuttheory!=null){
	    					return d.cuttheory;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'cut.difference',
	    			title:'差异率',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.cutdifference!=null){
	    					if(d.cutdifference==".00%"){
	    						return "0.00%";
	    					}
	    					return d.cutdifference;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'leak.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.leakid!=null){
	    					return d.leakid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'leak.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.leakpeople!=null){
	    					return d.leakpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'leak.work',
	    			title:'工作时间',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.leakwork!=null){
	    					return d.leakwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'leak.fact',
	    			title:'捡漏',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.leakfact!=null){
	    					return d.leakfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'leak.fact2',
	    			title:'二次捡漏',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.leakfact2!=null){
	    					return d.leakfact2;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		
	    		{
	    			field:'run.id',
	    			title:'订单号',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.runid!=null){
	    					return d.runid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'run.people',
	    			title:'到岗人数',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.runpeople!=null){
	    					return d.runpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'run.work',
	    			title:'工作时间',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.runwork!=null){
	    					return d.runwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'run.fact',
	    			title:'实际产量',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.runfact!=null){
	    					return d.runfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		
	    		
	    		
	    		{
	    			field:'airtight.id',
	    			title:'订单号',
	    			align:'center', 
	    			width:'120',
	    			templet: function(d){
	    				if(d.airtightid!=null){
	    					return d.airtightid;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'airtight.people',
	    			title:'到岗人数',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.airtightpeople!=null){
	    					return d.airtightpeople;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'airtight.work',
	    			title:'工作时间',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.airtightwork!=null){
	    					return d.airtightwork;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		{
	    			field:'airtight.fact',
	    			title:'实际产量',
	    			width:'120',
	    			align:'center', 
	    			templet: function(d){
	    				if(d.airtightfact!=null){
	    					return d.airtightfact;
	    				}else{
	    					return '';
	    				}
	    		    }	
	    		},
	    		
            
          ]]
	    ,page: false
	});
});

//layui.use('element', function(){
  //var $ = layui.jquery
 // ,element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
  //触发事件
  
  /*var active = {
		  reload: function(othis){
      var DISABLED = 'layui-btn-disabled';
      if(othis.hasClass(DISABLED)) return;
      var n = 0 ;
      var s=0  ;
      var Speed=0;
      for(;s<99;){
    	  $.ajax({
  	    	type:'post',
  	    	url:'${pageContext.request.contextPath }/report/Speedofprogress.do',
  	    	success:function(data){
  	    		alert(data);
  	    		s=data;
  	    		n=data;
  	    	}
  	    }); 
    	  timer = setInterval(function(){
    	        n = n + Math.random()*10|0;  
    	        if(n>100){
    	          n = 100;
    	          clearInterval(timer);
    	          othis.removeClass(DISABLED);
    	        }
    	        element.progress('demo', n+'%');
    	      });
      }
        
    }
  };
  
 */

  
 // $('.site-demo-active').on('click', function(){
  //  var othis = $(this), type = $(this).data('type');
 //   active[type] ? active[type].call(this, othis) : '';
//  });





toastr.options.positionClass = 'toast-top-center'; //提示框的位置设置为中上
</script>

</body>
</html>